package com.niiwoo.civet.system.enums;

import lombok.AllArgsConstructor;

/**
 * 系统参数删除状态
 * Created by fushengcai on 2017/11/1.
 */
@AllArgsConstructor
public enum DelStatusEnum {
    /**
     * 正常
     */
    NORMAL("N"),
    /**
     * 删除
     */
    DEL("D");



    private String value;

    public String getValue() {
        return value;
    }


    public static DelStatusEnum enumValueOf(String value) {
        for (DelStatusEnum param : values()) {
            if (param.value.equals(value)) {
                return param;
            }
        }
        return null;
    }


}
